a="abcdefghijklmn"
b=/sie|cde|po|de|ijnk|jk|fgh/
e=[] ; n=0
	c=a.gsub(b){|matched|
        print $&; print " "; print " "; print $`;print " "; puts $';
	 print "matched:"; puts matched
	 e[n]=matched 
	 n+=1
	matched="@"
	                }
d=c.gsub(/@+/,"@")			
print "d:"; puts d
print "e:"; print e; print " "; print e; print " "; print e





